//编写一个将华氏温度f转换为摄氏温度c的转换程序
//转换公式为：c=5/9*(f-32)
//并从键盘上输入一个温度值f，计算并显示c的值
#include <stdio.h>
int main()
{
    float f,c;
    printf("please input the temperature in Fahrenheit\n");
    scanf("%f",&f);
    c = 5.0 / 9 * (f - 32);
    printf("Temperature in Celsius is %.2f\n", c);
    return 0;
}